package com.zelix;

import java.io.*;
import java.util.Vector;

public class bj extends xi {

    private static String z[];

    public bj(int j) {
        super(j);
    }

    protected void a(nh nh1, int j, int k) {
        it it1;
        it1 = nh1.c();
        if (!it1.k()) {
            nh1.a(z[2] + a() + z[11] + d() + z[1]);
        } else if (it1.u())
            nh1.a(z[2] + a() + z[11] + d() + z[13]);
        PrintWriter printwriter = nh1.n();
        cs cs1 = new cs(printwriter, vh.e().length(), nh1.y());
        gv gv1 = gv.b();
        kb kb1 = null;
        try {
            File file = new File(nh1.u());
            File file1 = file.getParentFile();
            if (!file1.exists())
                kc.a(file1.getAbsolutePath());
            kb1 = new kb(new FileWriter(file), true);
        }
        catch (IOException ioexception) {
            cs1.b(z[4], z[5] + nh1.u() + z[7] + ioexception.getClass().getName());
        }
        String s = vh.e() + " " + i() + z[12];
        printwriter.println(s);
        System.out.println(s);
        qr qr1 = new qr();
        Vector vector = nh1.t();
        b(qr1, nh1);
        a(qr1, nh1);
        d(qr1, nh1);
        c(qr1, nh1);
        if (nh1.z()) {
            printwriter.println(z[3] + qr1.a);
            printwriter.println(z[8] + qr1.b);
            printwriter.println(z[10] + qr1.d);
            printwriter.println(z[14] + qr1.c);
        }
        Vector vector1 = nh1.t();
        Vector vector2 = nh1.v();
        Vector vector3 = nh1.j();
        Vector vector4 = nh1.k();
        it1.a(qr1, vector1, vector2, vector3, vector4, kb1, cs1, gv1, null, nh1);
        if (kb1 != null)
            kb1.close();
        if (nh1.x() > j)
            System.out.println(zu.a(vh.e().length() + 1, ' ') + z[6] + a());
        if (nh1.h() > k)
            System.err.println(zu.a(vh.e().length() + 1, ' ') + z[9] + a());
    }

    protected String i() {
        return z[0];
    }

    public String a() {
        return z[19];
    }

    protected void d(qr qr1, nh nh1) {
        qr1.d = true;
        Vector vector = super.f.d(z[15]);
        if (vector != null && vector.size() > 0) {
            String s = (String) vector.get(0);
            if (s != null && s.equals(z[16]))
                qr1.d = false;
        }
    }

    protected void a(qr qr1, nh nh1) {
        qr1.b = true;
        Vector vector = super.f.d(z[20]);
        if (vector != null && vector.size() > 0) {
            String s = (String) vector.get(0);
            if (s != null && s.equals(z[16]))
                qr1.b = false;
        }
    }

    protected void b(qr qr1, nh nh1) {
        qr1.a = false;
        Vector vector = super.f.d(z[21]);
        if (vector != null && vector.size() > 0) {
            String s = (String) vector.get(0);
            if (s != null && s.equals(z[18]))
                qr1.a = true;
        }
    }

    protected void c(qr qr1, nh nh1) {
        qr1.c = false;
        Vector vector = super.f.d(z[17]);
        if (vector != null && vector.size() > 0) {
            String s = (String) vector.get(0);
            if (s != null && s.equals(z[18]))
                qr1.c = true;
        }
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x62;
                    break;
                case 1:
                    key = 3;
                    break;
                case 2:
                    key = 121;
                    break;
                case 3:
                    key = 36;
                    break;
                default:
                    key = 117;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static {
        String as[];
        as = new String[22];
        as[0] = "6q\020I\030\013m\036";
        as[1] = "Ba\034B\032\020fYK\005\007m\020J\022B`\025E\006\021f\n";
        as[2] = "#w\rA\030\022wYP\032Bv\nAU@";
        as[3] = "kg\034H\020\026f*K\000\020`\034b\034\016f8P\001\020j\033Q\001\007pD";
        as[4] = "'Q+k'X";
        as[5] = "!l\fH\021\f$\r\004\032\022f\027\004";
        as[6] = "5b\013J\034\fd\n\004\021\007w\034G\001\007gY@\000\020j\027CU";
        as[7] = "B9Y";
        as[8] = "kg\034H\020\026f=A\005\020f\032E\001\007g8P\001\020j\033Q\001\007pD";
        as[9] = "'q\013K\007\021#\035A\001\007`\rA\021Bg\fV\034\fdY";
        as[10] = "kg\034H\020\026f8J\033\rw\030P\034\rm8P\001\020j\033Q\001\007pD";
        as[11] = "@#\nP\024\026f\024A\033\026#\030PU\016j\027AU";
        as[12] = "L-W";
        as[13] = "Bt\020P\035Bm\026\004\026\016b\nW\020\021#\026T\020\ff\035";
        as[14] = "kg\034H\020\026f,J\036\fl\016J4\026w\013M\027\027w\034WH";
        as[15] = "\006f\025A\001\007B\027J\032\026b\rM\032\fB\rP\007\013a\fP\020\021";
        as[16] = "\004b\025W\020";
        as[17] = "\006f\025A\001\007V\027O\033\rt\027e\001\026q\020F\000\026f\n";
        as[18] = "\026q\fA";
        as[19] = "\026q\020I";
        as[20] = "\006f\025A\001\007G\034T\007\007`\030P\020\006B\rP\007\013a\fP\020\021";
        as[21] = "\006f\025A\001\007P\026Q\007\001f?M\031\007B\rP\007\013a\fP\020\021";
        for (int i = 0; i < as.length; i++) {
            as[i] = z(as[i].toCharArray());
        }
        z = as;
    }
}